/**
 * @Author: 程亮
 * @Date: 2019/09/12
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019/08/27
 */
const RouteView = () => import('@/layout/RouteView');
// 异步路由组件加载
const AsyncComponent = __name__ => () => import(`@/pages/${__name__}`);

// 菜单路由
const menuRoutes = [
  {
    path: '/notificationDLR',
    meta: { title: '通知通告管理', icon: 'el-icon-message' },
    redirect: '/notificationDLR',
    component: RouteView,
    children: [
      {
      path: '/notificationDLR',
      meta: { title: '通知通告管理'  ,icon: 'el-icon-message'},
      redirect: '/notificationDLR',
      component: RouteView,
      children: [
      {
        path: '/notificationDLR/view/index',
        meta: { title: '通知通告查看', keepAlive: true },
        component: AsyncComponent('cms-pages/notificationDLR/view/index')
      }
    ]
  }
]
}
];

export default menuRoutes;
